﻿using Sunny.Core.DefinedData;
using Sunny.Core.Domain.Model;

namespace LeLe.Core.Model.GroupPurchase
{
    public class GPDealModel : BaseAggregateRootModel
    {
        internal GPDealModel(SKey key)
            : base(key)
        {
        }

        #region Properties

        public GPAreaModel Area { get; set; }

        public GPCategoryModel Category { get; set; }

        public GPSourceModel Source { get; set; }

        public string Name { get; set; }

        public SFile Image { get; set; }

        public SMoney OriginalPrice { get; set; }

        public SFloat Discount { get; set; }

        public SMoney PresentPrice { get; set; }

        public SInteger PurchasedNumber { get; set; }

        public string BusinessCircle { get; set; }

        public SDateTime CreateTime { get; set; }

        public SDateTime ExpiryTime { get; set; }

        #endregion

        protected override void CheckModel()
        {
        }
    }
}
